package com.ea.mapper;

import com.ea.domain.entity.LogisticDetailInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物流信息明细表 Mapper 接口
 * </p>
 *
 * @author 电器商城
 * @since 2022-11-29
 */
@Mapper
public interface LogisticDetailInfoMapper {

    /**
     * 批量添加物流信息
     * @param detailInfoList
     */
    void insertLogisticDetailBatch(List<LogisticDetailInfo> detailInfoList);

    /**
     * 查询物流单明细信息
     * @param logisticId
     * @return
     */
    List<LogisticDetailInfo> selectLogisticDetailListByLogisticId(@Param("logisticId") Long logisticId);
}
